package com.zthz.douxing.taskinfo


import com.zthz.douxing.utils.CommonUtil


class SearchWeatherMessageServiceTaskInfoJob extends SearchTaskInfoJob{

    static triggers = {
        cron name: 'sendWeatherMsgJob', cronExpression: '0 0/1 * * * ?'
    }

    def execute() {
        // execute job
        if(CommonUtil.getTaskInfoKeyRegExp("weatherMessageService"))
            excuteJobByName(CommonUtil.getTaskInfoKeyRegExp("weatherMessageService"))
    }
}
